<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
    String contextPath = request.getContextPath();
%>

<html>

<head>
    <meta charset="UTF-8">
    <title>权限管理</title>
    <link rel="stylesheet" type="text/css" href="<%=contextPath%>/resources/easyUI/themes/gray/easyuia.css">
    <link rel="stylesheet" type="text/css" href="<%=contextPath%>/resources/easyUI/icon.css">
    <script type="text/javascript" src="<%=contextPath%>/resources/js/jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="<%=contextPath%>/resources/js/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="<%=contextPath%>/resources/easyUI/easyui-lang-zh_CN.js"></script>
    <script type='text/javascript' src='<%=contextPath%>/resources/js/manager/permission.js'></script>
</head>

<body style="font-size: 14px;font-family:'微软雅黑'">

	<div style="width:100%">
	    
	    <div style="margin-bottom: 10px;">
	        <form action="<%=contextPath%>/manager/permission/list.do" id="ff" method="post">
		        <input type="hidden" name="limit" value="20">
		        <input type="hidden" id="pageNum" name="pageNum" value="1">
		        <label>权限名：<input  class="easyui-textbox"  type="text" name="name" /></label>
		        <label><a href="#" onclick="CRUD.queryList();"class="easyui-linkbutton" iconCls="icon-search">模糊搜索</a> </label>
	        </form>
	    </div>
	    
	    <div id="tablepanel" class="easyui-panel" style="width:100%;height:auto;" title="权限列表">
			<table id="tt"></table>
		</div>
		
	</div>

<div id="dialogAdd">
    <form id="fmAdd" name="formHead" style="text-align:right;padding-top: 10px;height: 95%;width: 100%" method="post"
          action="<%=contextPath%>/manager/permission/add.do">
        <input type="hidden" name="id" id="id"/>
        <table style="text-align:left;padding-left: 40px;width: 95%" id="ruleTable">
            <tr>
                <td style="width:90px;text-align:right">权限名称:</td>
                <td colspan="6"><input class="easyui-textbox" style="margin-left:2px;width:200px;" type="text" name="name" id="name"/></td>
            </tr>
            <tr>
                <td style="width:90px;text-align:right">权限字符串:</td>
                <td colspan="6"><input class="easyui-textbox" style="margin-left:2px;width:200px;" type="text" name="permissionCode" id="permissionCode"/></td>
            </tr>
            <tr>
                <td style="text-align:right">状态:</td>
                <td colspan="6">
                    <select class="easyui-combobox" style="margin-left:2px;width:200px" id="status" name="status">
                        <option value="1" selected="selected">正常</option>
                        <option value="2" >停止</option>
                    </select>
                </td>
            </tr>
<!--             <tr> -->
<!--                 <td style="text-align:right">权限说明:</td> -->
<!--                 <td colspan="6"> -->
<!--                     <input class="easyui-textbox" data-options="multiline:true" style="margin-left:2px;width:200px;height:80px" id="describe" name="describe" > -->
<!--                 </td> -->
<!--             </tr> -->
        </table>
        </br>
        <div style = "margin-right:40%">
	        <a class="easyui-linkbutton" id="a_AddOK" onclick="">确定</a>
	        <a class="easyui-linkbutton" id="a_AddCancle">取消</a>
        </div>
    </form>
</div>

</body>
</html>